package com.example.demo.enums;

public enum ResultCode {
    SUCCESS(200),
    FAILURE(-1),
    NOT_LOGGED_IN(-2),
    ERROR(-3)
    ;
    private Integer code;

    ResultCode(Integer code) {
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
